package com.yc.yyds.biz;

import com.yc.yyds.dao.UserQueryLinksDao;


import java.util.List;
import java.util.Map;

public class QueryLinksBiz {
    UserQueryLinksDao dao = new UserQueryLinksDao();

    public List<Map<String, Object>> queryLink() throws BizException {
        try {
            return  dao.queryLinks();
        }catch (Exception e){
            e.printStackTrace();
            throw new BizException("查询失败,请联系管理员");
        }
    }

}
